package com.ithe.canteen.mapper;

import com.ithe.canteen.pojo.Collect;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectMapper {

    Integer addCollect(String collectID, String foodID, String customerID);

    Integer deleteCollect(String foodID, String customerID);

    boolean getCollectState(String foodID, String customerID);

    List<Collect> getCollectList(String customerID);
}
